import Vue from 'vue'
import Router from 'vue-router'
import Home from '../page/Home'
import Category from '../page/Category'
import CategoryList from '../page/CategoryList'
import User from '../page/User'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',component:Home},
    {path:'/category',component:Category},
    {path:'/category/:game/:id',component:CategoryList},
    {path:'/user',component:User}
  ]
})
